<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>查看详细行程</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/layuiadmin/style/admin.css" media="all">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">查看详细行程</div>
                <div class="layui-card-body">
                    <form class="layui-form" action="" lay-filter="component-form-group">
                        {if !empty($res)}
                        <ul class="layui-timeline">
                            {foreach $res as $k=>$v}
                            <li class="layui-timeline-item">
                                <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
                                <div class="layui-timeline-content layui-text">
                                    <h3 class="layui-timeline-title">第{$v['sort_day']}天</h3>
                                    <p>
                                        景点：{$v['tour']}
                                    </p>
                                    <p>
                                        餐饮：{$v['catering']}
                                    </p>
                                    <p>
                                        住宿：{$v['living']}
                                    </p>
                                </div>
                            </li>
                            {/foreach}
                        </ul>
                        {else}
                        <img src="/static/image/admin_null.png" style="position: relative;left: 35%"/>
                        {/if}
                    </form>
                    <div style="height: 100px"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="/static/layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '/static/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index','form','set','upload','element','laydate'], function(){
        $ = layui.jquery;
        var  admin = layui.admin
            ,element = layui.element
            ,layer = layui.layer
            ,form = layui.form
            ,laydate = layui.laydate
            ,upload=layui.upload;

        form.render(null,'component-form-group');
        //时间选择器
        laydate.render({
            elem: '#start'
            ,type: 'time'
            ,format:"HH:mm"
        });

        laydate.render({
            elem: '#end'
            ,type: 'time'
            ,format:"HH:mm"
        });


    });

</script>


</body>
</html>